package net.lab1024.sa.admin.module.users.approval.dao;

import java.util.List;
import net.lab1024.sa.admin.module.users.approval.domain.entity.ConsumablesPurchaseApprovalEntity;
import net.lab1024.sa.admin.module.users.approval.domain.form.ConsumablesPurchaseApprovalQueryForm;
import net.lab1024.sa.admin.module.users.approval.domain.vo.ConsumablesPurchaseApprovalVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 实训室耗材审批管理 Dao
 *
 * @Author 王俊权
 * @Date 2024-11-06 10:32:23
 * @Copyright 🐂🐎bloc
 */

@Mapper
@Component
public interface ConsumablesPurchaseApprovalDao extends BaseMapper<ConsumablesPurchaseApprovalEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<ConsumablesPurchaseApprovalVO> queryPage(Page page, @Param("queryForm") ConsumablesPurchaseApprovalQueryForm queryForm);

    void insertBatch(@Param("list") List<ConsumablesPurchaseApprovalEntity> list);
}
